export enum MessageChannelType {
  SimVariableValueChanging = "SimVariableValueChanging",
  SimSwitchDiagram = "SimSwitchDiagram",
  SimFinish = "SimFinish",
  TableConstantVerify = "TableConstantVerify",
  InstanceTableSimEnd = "InstanceTableSimEnd",
  ShowConnectMsg = "ShowConnectMsg",
  SimAnimation = "SimAnimation",
}

export enum IpcMsg {
  RMIInvoke="RMIInvoke",
  RMIQuery="RMIQuery",
  RMIResponse="RMIResponse",
  RMIInvokeAction="RMIInvokeAction",
  WindowFocus="WindowFocus",

  SimulationLoadFinished="SimulationLoadFinished",
  MainWindowReady="MainWindowReady", // 主窗口已就绪
  CanClose="CanClose",
  CloseMainWindow="CloseMainWindow",
  TryCloseWindow="TryCloseWindow",
  CreatePluginWindow="CreatePluginWindow",
  WindowCloseImmediately="WindowCloseImmediately", // 手动执行关闭窗口操作
  MarkInstanceTableCells="MarkInstanceTableCells", // 根据modelId标记单元格，需要传递一个type用来区别标记类型以便将来移除某一类的标记 {modelId:string,color:string，type:string,propertyKey:string}
  OpenWindow="OpenWindow",
  WindowClose="WindowClose",
  SetLicense="SetLicense",
  SetToken="SetToken",
  RemoveShapeMark="RemoveShapeMark", // 移除标记，如果不传modelId则会移除这个等于此type的所有标记 {modelId?:string,type:string}
  OpenPlugin="OpenPlugin",
  LocaleChange="LocaleChange", // 本地语言配置改变
  MessageChannel="MessageChannel", // 窗口间通讯通
  SimSubwinMsgToSimWin="SimSubwinMsgToSimWin", // sim-sub to sim-win
  MarkShape="MarkShape", // sim animate
}
